<admintpl file="header" />
<!-- Bootstrap -->


<link href="__TMPL__Public/assets/css/infomation.css" rel="stylesheet" />
<link href="__PUBLIC__/js/jquery-ui/jquery-ui.min.css" rel="stylesheet" />


</head>
<body>

    <div class="wrap">
        <ul class="nav nav-tabs">
           	<li><a href="{:U('ExecutingWeeklyReport/dj')}">代建周报管理</a></li>
            <li><a href="{:U('ExecutingWeeklyReport/dj_add')}">添加代建周报</a></li>
            <li class="active"><a href="{:U('ExecutingWeeklyReport/dj_edit', array('id'=>I('request.id/s','')))}">编辑代建周报</a></li>
        </ul>
        <section class="tab-pane active fade in" id="access">

            <div class="row">
                <div class="col-xs-12 col-md-12 col-lg-12">
                    <div class="panel panel-info">

                        <div class="panel-body">
                            <form class="js-ajax-form form-horizontal form-inline tg" action="{:U('ExecutingWeeklyReport/djedit_post')}" method="post">
                            	<input type="hidden" name="report_type" value="2" />
                                <div class="text-center">
                                    <h2>
                                        浙江五洲项目管理有限公司 <br />
                                        <small>代 建 周 报</small>
                                        <small><select name="report_year">
                                        	<php>
                                            	for($i = (date('Y') - 5); $i < (date('Y') + 2); $i++){
                                                	echo "<option value=$i ".($result['report_year'] == $i ? "selected" : "")." >$i</option>";
                                                }
                                            </php>
                                        </select>
                                        第(<input type="text" name="code" class="input-xt input-num" value="{$result.code}" />)期</small>
                                    </h2>
                                </div>
                                <div class="row tg-header">
                                    <div class="col-md-12">
                                        <p class="tg-content">
                                            <label>工程名称：</label>
                                            <input type="text" name="meeting_time" class="input-xt input-deptname" value="{$job_name}" />
                                        </p>
                                        <p class="tg-content">
                                            <label>施工时间:</label>
                                            <input type="text" name="being_date" class="input-xt input-name" id="from" value="{$result.being_date}" />
                                            -
                                            <input type="text" name="end_date" class="input-xt input-name" id="to" value="{$result.end_date}" />
                                        </p>
                                    </div>
                                </div>
                                <div class="well">
                                    <fieldset>
                                        <ul class="list-unstyled">
                                            <li>
                                                <h4>
                                                    一、现场形象进度:
                                                </h4>
                                                <div class="tg-content">
                                                    <script type="text/plain"  name="this_week_problem" id="content">{$result.this_week_problem}</script>
                                                </div>
                                            </li>

                                            <li>
                                                <h4>
                                                    二、勘察设计进度：
                                                </h4>
                                                <div class="tg-content">
                                                    <script type="text/plain"  name="this_week_summary" id="content1">{$result.this_week_summary}</script>
                                                </div>
                                            </li>
                                            <li>
                                                <h4>
                                                    三、招标情况：
                                                </h4>
                                                <div class="tg-content">
                                                    <script type="text/plain"  name="tender_content" id="content2">{$result.tender_content}</script>
                                                </div>

                                            </li>
                                            <li>
                                                <h4>
                                                    四、前期报批情况
                                                </h4>
                                                <div class="tg-content">
                                                    <script type="text/plain"  name="prograss_goal" id="content3">{$result.prograss_goal}</script>
                                                </div>
                                            </li>
                                            <li>
                                                <h4>
                                                    五、各部门协调情况
                                                </h4>
                                                <div class="tg-content">
                                                    <script type="text/plain"  name="next_week_plan" id="content4">{$result.next_week_plan}</script>
                                                </div>
                                            </li>
                                            <li>
                                                <h4>
                                                    六、重要领导视察或开会协调
                                                </h4>
                                                <div class="tg-content">
                                                    <script type="text/plain"  name="contractor_problem" id="content5">{$result.contractor_problem}</script>
                                                </div>
                                            </li>

                                        </ul>
                                    </fieldset>
                                    <div class="signature">
                                        <p>
                                            杭州市中医院
                                        </p>
                                    </div>
                                    <p class="signature-date">
                                        <span>年</span>
                                        <span>月</span>
                                        <span>日</span>
                                    </p>

                                </div>

                                <input type="hidden" name="id" value="{$result.id}" />
                                <div class="form-actions">
                                    <button type="submit" class="btn btn-primary js-ajax-submit">{:L('SAVE')}</button>
                                    <if condition="$Role == 3 || $Role == 0">
                                        <input type="hidden" name="is_publish" id="is_publish" value="{$result.is_publish}">
                                        <input type="submit" class="btn btn-warning" id="btnPublish" value="发布">
                                    </if>
                                    <a class="btn btn-default" href="javascript:history.back(-1);">{:L('BACK')}</a>
                                </div>

                            </form>

                        </div>
                    </div>
                </div>

            </div>

        </section>
    </div>
    <script src="__PUBLIC__/js/common.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/jquery-ui/jquery-ui.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/jquery-ui/datepicker-zh-CN.js"></script>
    <script type="text/javascript">

        $(function () {
            $("#from").datepicker({
                dateFormat: "yy-mm-dd",
                defaultDate: "",
                changeMonth: true,
                changeYear: true,
                numberOfMonths: 1,
                onClose: function (selectedDate) {
                    $("#to").datepicker("option", "minDate", selectedDate);
                }
            });
            $("#to").datepicker({
                defaultDate: "",
                changeMonth: true,
                changeYear: true,
                numberOfMonths: 1,
                onClose: function (selectedDate) {
                    $("#from").datepicker("option", "maxDate", selectedDate);
                }
            });
        });
    </script>
    <script type="text/javascript">
        //编辑器路径定义
        var editorURL = GV.WEB_ROOT;
    </script>
    <script type="text/javascript" src="__PUBLIC__/js/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript">
        var editorcontent = new baidu.editor.ui.Editor();
        editorcontent.render('content');
        var editorcontent1 = new baidu.editor.ui.Editor();
        editorcontent1.render('content1');
        var editorcontent2 = new baidu.editor.ui.Editor();
        editorcontent2.render('content2');
        var editorcontent3 = new baidu.editor.ui.Editor();
        editorcontent3.render('content3');
        var editorcontent4 = new baidu.editor.ui.Editor();
        editorcontent4.render('content4');
        var editorcontent5 = new baidu.editor.ui.Editor();
        editorcontent5.render('content5');
    </script>
</body>
</html>